package testJdk.commonUse.array;

import org.junit.Test;

import java.util.Arrays;

/**
 * @version 1.0.0
 * Created by cyd on 2023-07-25 11:09:38
 * @ClassName : testJdk.commonUse.array.ArraySort
 * @Description : 类描述
 */
public class ArraySort {


    @Test
    public void test() {
        int[] nums2 = new int[]{5, 1, 2, 3, 4};
        System.out.println(Arrays.toString(nums2));
        Arrays.sort(nums2);
        System.out.println(Arrays.toString(nums2));
    }
}
